home *** CD-ROM | disk | FTP | other *** search
/ Know Your Hockey - The Greatest Player Resource / Know Your Hockey: The Greatest Player Resource.iso / hockey / director / ktgcst.cst / 00068_Script_For Roles Def < prev    next >
Text File  |  1998-09-28  |  2KB  |  68 lines

  1. global lastrollover,thisrollover
  2. on Spriteoffplayer
  3.   set mysprite = lastrollover
  4.   if getat(gbuttonstate,mysprite) = 0 then  
  5.     set the blend of sprite(lastrollover) = 0
  6.     set the blend of sprite(lastrollover+20) = 0
  7.     updateStage
  8.   end if 
  9. end    
  10.  
  11.  
  12. on SpriteOnplayer
  13.   set the blend of sprite(thisrollover) = 100  
  14.   set the blend of sprite(thisrollover+20) = 100  
  15. end
  16. ---- low sprites
  17. on Spriteofftwinlow
  18.   set mysprite = lastrollover+10
  19.   if getat(gbuttonstate,mysprite) = 0 then  
  20.     set the blend of sprite(lastrollover-10) = 0
  21.     set the blend of sprite(lastrollover+10) = 0
  22.     updateStage
  23.   end if 
  24. end    
  25.  
  26.  
  27. on SpriteonTwinLow
  28.   put 12
  29.   -- if thisrollover-10 < 1 then exit
  30.   set the blend of sprite(thisrollover-10) = 100  
  31.   set the blend of sprite(thisrollover+10) = 100  
  32. end
  33.  
  34. ---- hi sprites
  35.  
  36. on Spriteofftwinhi1
  37.   set mysprite = lastrollover+4
  38.   if getat(gbuttonstate,mysprite) = 0 then  
  39.     set the blend of sprite(lastrollover-16) = 0
  40.     set the blend of sprite(lastrollover+4) = 0
  41.     updateStage
  42.   end if 
  43. end    
  44.  
  45.  
  46. on SpriteonTwinhi1
  47.   if thisrollover-16 < 1 then exit
  48.   set the blend of sprite(thisrollover-16) = 100  
  49.   set the blend of sprite(thisrollover+4) = 100  
  50. end
  51.  
  52. on Spriteofftwinhi2
  53.   set mysprite = lastrollover+6
  54.   if getat(gbuttonstate,mysprite) = 0 then  
  55.     set the blend of sprite(lastrollover-14) = 0
  56.     set the blend of sprite(lastrollover+6) = 0
  57.     updateStage
  58.   end if 
  59. end    
  60.  
  61.  
  62. on SpriteonTwinhi2
  63.   if thisrollover-14 < 1 then exit
  64.   set the blend of sprite(thisrollover-14) = 100  
  65.   set the blend of sprite(thisrollover+6) = 100  
  66. end
  67.  
  68.